package sy.pageModel;

public class OrderTour {
	
	private int page;
	private int rows;
	private String sort;
	private String order;
	private String ids;
	private String createTimeStart;
	private String createTimeEnd;
	
	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}
	
	public String getCreateTimeStart() {
		return createTimeStart;
	}

	public void setCreateTimeStart(String createTimeStart) {
		this.createTimeStart = createTimeStart;
	}
	
	public String getCreateTimeEnd() {
		return createTimeEnd;
	}

	public void setCreateTimeEnd(String createTimeEnd) {
		this.createTimeEnd = createTimeEnd;
	}
	
	private String id = "";
	private String orderId = "";
	private String cardId = "";
	private String name = "";
	private String status = "";
	private String mobile = "";
	private String createTime = "";
	private String serviceTime = ""; //出发时间
	private String cid = ""; //身份证号
	private String agencyName = ""; //旅行社名称
	private String agencyId = "";//旅行社id
	private String lineId = ""; //线路id
	private String lineName = ""; //线路名称
	private int personCount; //参加人数
	private double lineFee;  //线路单价
	private double totalFee;    //总费用（单价X参加人数）
	private double actualFee;   //实际费用
	private String serviceDetails = ""; //服务详单
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	
	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getStatus() {
		return this.status;
	}
	
	public String getStatusName() {
		return OrderDoctor.ORDER_STATUS_MAP.get(status);
	}
	
	public void setStatus(String status) {
		this.status = status;
	}
	
	public String getMobile() {
		return mobile;
	}
	
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	public String getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	public String getServiceTime() {
		return serviceTime;
	}
	
	public void setServiceTime(String serviceTime) {
		this.serviceTime = serviceTime;
	}
	
	public String getCid() {
		return cid;
	}
	
	public void setCid(String cid) {
		this.cid = cid;
	}
	
	public String getAgencyName() {
		return agencyName;
	}
	
	public void setAgencyName(String agencyName) {
		this.agencyName = agencyName;
	}
	
	public String getAgencyId() {
		return agencyId;
	}
	
	public void setAgencyId(String agencyId) {
		this.agencyId = agencyId;
	}
	
	public String getLineId() {
		return lineId;
	}
	
	public void setLineId(String lineId) {
		this.lineId = lineId;
	}
	
	public String getLineName() {
		return lineName;
	}
	
	public void setLineName(String lineName) {
		this.lineName = lineName;
	}
	
	public int getPersonCount() {
		return personCount;
	}
	
	public void setPersonCount(int personCount) {
		this.personCount = personCount;
	}
	
	public double getLineFee() {
		return lineFee;
	}
	
	public void setLineFee(double lineFee) {
		this.lineFee = lineFee;
	}
	
	public double getTotalFee() {
		return totalFee;
	}
	
	public void setTotalFee(double totalFee) {
		this.totalFee = totalFee;
	}
	
	public double getActualFee() {
		return actualFee;
	}
	
	public void setActualFee(double actualFee) {
		this.actualFee = actualFee;
	}
	
	public String getServiceDetails() {
		return serviceDetails;
	}
	
	public void setServiceDetails(String serviceDetails) {
		this.serviceDetails = serviceDetails;
	}
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("id='" + id + "', ");
		sb.append("cardId='" + cardId + "', ");
	    sb.append("name='" + name + "', ");
	    sb.append("status='" + status + "', ");
	    sb.append("statusName='" + this.getStatusName() + "', ");
	    sb.append("mobile='" + mobile + "', ");
	    sb.append("orderId='" + orderId + "', ");
	    sb.append("createTime='" + createTime + "', ");
	    sb.append("serviceTime='" + serviceTime + "', ");
	    sb.append("cid='" + cid + "', ");
	    sb.append("agencyId='" + agencyId + "', ");
	    sb.append("agencyName='" + agencyName + "', ");
	    sb.append("lineId='" + lineId + "', ");
	    sb.append("lineName='" + lineName + "', ");
	    sb.append("personCount='" + personCount + "', ");
	    sb.append("lineFee='" + lineFee + "', ");
	    sb.append("totalFee='" + totalFee + "', ");
	    sb.append("actualFee='" + actualFee + "', ");
	    sb.append("serviceDetails='" + serviceDetails + "'");
	    return sb.toString();		
	}
}
